package com.weipai.education.mapper;

import com.weipai.education.model.ActivityCate;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ActivityCateMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ActivityCate record);

    int insertSelective(ActivityCate record);

    ActivityCate selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ActivityCate record);

    int updateByPrimaryKey(ActivityCate record);

    List<Map<String,Object>> list(@Param("start") Integer start, @Param("end") Integer size);

    Integer listAmount();

    int batchDeleteById(String[] id);
}